void main() {
  print(getTimeArray(5));
}

getTimeArray(int zoomLevel){
  assert (zoomLevel>0 && zoomLevel<=5);
  List result = [];
  var baseMinute = (24*60/zoomLevel).toInt(); // 4 days as base line
  var now = new DateTime.now();
  var current = now.month.toString()+ "-" +now.day.toString() + " " +now.hour.toString()+":"+now.minute.toString();
  result.add(current);
  for(var index = 1; index<=4; index++){
    var temp = now.subtract(new Duration(minutes: baseMinute*index));
    var pointDate = temp.month.toString()+ "-" +temp.day.toString() + " " +temp.hour.toString()+":"+temp.minute.toString();
    result.add(pointDate);
  }
  return result;
}